package com.ww.java.generic.method.inherit;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author wanggw
 * @Date 2023年07月21 23:49
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Student extends Person {

    private String school;

	public String getSchool() {
		return school;
	}

	public void setSchool(String school) {
		this.school = school;
	}

	@Override
	public String toString() {
		return "Student [school=" + school + "]";
	}
}
